﻿/******************************************************************
** 文 件 名: Bu_Investigate_View.aspx.cs
** Copyright (c) 2010-2012 Honestysoft (GuangZhou) Co.,LTD
** 创 建 人: 蔡少鹏
** 创建日期: 2012-6-9 12:35:24
** 描    述: 现场考察查看页面
** 版    本: 2.0.0.0
** 修改描述:
** 修 改 人:
** 修改日期:
******************************************************************/
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Honestysoft.BaseObject;
using Honestysoft.Baseframework.WebUI;
using Honestysoft.Financing.Model;


namespace Honestysoft.Financing.WebUI.Module.Project
{
	public partial class Bu_Investigate_View : BasePage
	{	
		protected override void Page_Load(object sender, EventArgs e)
        {
			base.Page_Load(sender, e);
            if (!IsPostBack)
            {
                Bind();
            }
        }		
		/// <summary>
        /// 绑定页面
        /// </summary>
        private void Bind()
        {
           	Bu_Investigate obj = new BaseBusinessLogic<Bu_Investigate>().GetEntity(Request.QueryString["ID"]);
			if(obj == null){ return; }
			_ID = obj.ID;
			_InvDate = obj.InvDate.ToString("yyyy-MM-dd");
			_ProjectID = obj.ProjectID;
			_GS = obj.GS.ToString();
			_CZLJ = obj.CZLJ.ToString();
			_TK = obj.TK.ToString();
			_OutputValue = obj.OutputValue.ToString();
			_P_ZF = obj.P_ZF.ToString();
			_P_XX = obj.P_XX.ToString();
			_P_GC = obj.P_GC.ToString();
			_PlanStartDate = obj.PlanStartDate.ToString("yyyy-MM-dd");
			_PlanEndDate = obj.PlanEndDate.ToString("yyyy-MM-dd");
			_StartDate = obj.StartDate.ToString("yyyy-MM-dd");
			_EndDate = obj.EndDate.ToString("yyyy-MM-dd");
        }
		
		/// <summary>
        /// 标识
        /// </summary>
		protected string _ID = "";
		/// <summary>
        /// 考察日期
        /// </summary>
		protected string _InvDate = "";
		/// <summary>
        /// 项目标识
        /// </summary>
		protected string _ProjectID = "";
		/// <summary>
        /// 项目概算
        /// </summary>
		protected string _GS = "";
		/// <summary>
        /// 财政已支付
        /// </summary>
		protected string _CZLJ = "";
		/// <summary>
        /// 投控已审核
        /// </summary>
		protected string _TK = "";
		/// <summary>
        /// 累计完成产值
        /// </summary>
		protected string _OutputValue = "";
		/// <summary>
        /// 资金支付进度
        /// </summary>
		protected string _P_ZF = "";
		/// <summary>
        /// 形象进度
        /// </summary>
		protected string _P_XX = "";
		/// <summary>
        /// 工程进度
        /// </summary>
		protected string _P_GC = "";
		/// <summary>
        /// 计划开工日期
        /// </summary>
		protected string _PlanStartDate = "";
		/// <summary>
        /// 计划竣工日期
        /// </summary>
		protected string _PlanEndDate = "";
		/// <summary>
        /// 实际开工日期
        /// </summary>
		protected string _StartDate = "";
		/// <summary>
        /// 实际竣工日期
        /// </summary>
		protected string _EndDate = "";
	}
}